There are many steps to setting up the NetWare® Client and Administrative Utilities. Use this guide to install, configure, and use the NetWare Client and Administrative Utilities for Linux.
This guide uses the following conventions.
An asterisk denotes a trademarked name belonging to a third-party company. Caldera® and Novell® trademarks are denoted with specific trademark symbols (®, TM, etc.).
An ownership listing of all (Caldera, Novell, and third-party) trademarks cited in a manual can be found either on the disclaimer page in the front or in a "Trademarks" section at the back of printed manuals.
DOS commands and command option letters are shown in uppercase letters. For example: FTPD. Because DOS is not case-sensitive, you can type DOS commands in uppercase or lowercase letters.
Linux commands and command option letters are shown in bold monospace font. For example: ls -l. Because Linux commands are case sensitive, you must type them exactly as shown.
DOS filenames, directory names, and pathnames are shown in uppercase letters (for example, AUTOEXEC.BAT). Because DOS is not case-sensitive, you can type these names in uppercase or lowercase letters.
Linux filenames, directory names, and pathnames are shown in bold monospace font (for example, NWInodes). Because Linux is case-sensitive, you must type these names exactly as shown.
Ellipses in syntax examples indicate that parameters, options, or settings can be repeated.
LOGIN SERVER1/SUPERVISOR /option...
you could replace option with any number of available options.
Italic type indicates emphasized text. For example:
Remember to load the driver before you install the application.
The following types of information are marked with the icons shown:
Checklists, which often contain prerequisites, are marked with the "Checklist" icon shown to the left of this text.
Procedures to follow in order to accomplish a specified task are marked with the "Procedure" icon shown to the left of this text.
Additional or nonessential but noteworthy information is marked with the "Note" icon shown to the left of this text.
Vital information about system or software requirements, etc., that deserves particular attention is marked with the "Important" icon shown to the left of this text.
Guidelines or tips about fine-tuning, optimizing, etc., which might be applicable to your site or situation, are emphasized with the "Suggestion" icon shown to the left of this text.
Warnings about potential danger to data, hardware, or person are emphasized with the "Warning" icon to the left of this text.
Key names are given no special treatment. For example, Enter corresponds to the Enter key on your keyboard. Ctrl+c means hold down the Ctrl key and simultaneously type the letter c (in lowercase, in this case).
Monospace type shows system-generated responses that appear on your workstation screen. For example:
Keystrokes to be by the user are also shown in monospace type, such as:
In command syntax, italic type indicates variables--descriptive item names, such as command parameters--that you replace with appropriate values.
you type the name of a computer on your network in place of remote_host.
The following types of help are available:
* Context-sensitive help. For command utilities, if you are unsure how to use a command, type the command name and add the --help option for help. For example, for help with the RIGHTS command, type RIGHTS --help.
* Online Windows* help. The Windows help viewer allows you to read NetWare help developed for the Windows environment. To access the NetWare help screens within Windows, press <F1> or the <?> button.
Online HTML guides. This release includes NetWare Server guides in HTML format. To view these guides, visit Caldera's web site at http://www.caldera.com/products/ netware/.
You can also download these HTML guides from Caldera's FTP site in the /pub/netware/docs directory. After you download these guides, you must decompress the files using the "tar" command.
* User forum. If you have questions about installing and using the server, subscribe to the Caldera-NetWare user forum. This forum may provide helpful information and tips from other users who are using the server. (See the "User Forum" section on Caldera's web site at http://www.caldera.com/products/netware/ for details.)
The NetWare® Client component of Caldera® NetWare® for Linux lets you seamlessly work with NetWare 3.x and greater servers on your organization's network. You can work with these servers from any Linux command line without adding any additional software, and your system appears as another client to NetWare.
This section explains the following:
* Installing the NetWare client and utilities.
* Configuring the NetWare client.
The CD version of Caldera NetWare for Linux includes the NetWare Client for using printing services and the NetWare Utilities for administering the NetWare system.
This section includes how to do the following:
* Install the NetWare Client for Linux
* Install the NetWare Administrative Utilities for Linux
NOTE: If you installed the NetWare for Linux system to a Caldera OpenLinux 1.2 system using the update script, the NetWare client and administrative utilities were automatically installed at that time. If you want to install the client and administrative utilities on another Linux system, refer to this section.
2. Insert the NetWare for Linux CD into the CD-ROM drive, then mount the CD-ROM drive.
3. Change to the directory where the NetWare for Linux Caldera OpenLinux CD is mounted, then type
When you installed the NetWare Client for Linux, the client was configured for immediate use. However, you can make changes to the default configuration at any time.
To reconfigure the NetWare client:
1. Log into the Linux client as the root user.
2. Open the /etc/sysconfig/daemons/nwclient file, and edit any of the following lines
You must now stop and then restart the NetWare client before your changes will be effective.
3. To stop the NetWare client, Enter
/etc/rc.d/init.d/nwclient stop
Many utilities provided with the NetWare Client for Linux do or can rely on environment variables for information about how to interact with your NetWare systems. If an environment variable isn't set, you must specify the information when you execute the command. For example, if the print queue and server variables aren't set, you must specify them when you print files; Otherwise, the system won't let you print files.
The following are NetWare environment variables:
Because the NetWare client is automatically activated when you install NetWare for Linux to OpenLinux using the update script or when you manually install the NetWare client, you must deactivate it if you don't want to use it. Deactivating the client saves system resources (approximately 500 KB of disk space and 1.2 MB of system memory). If you decide to reactivate the NetWare client, you can do so without restarting your system.
To deactivate or activate the NetWare client:
2. Depending on whether you want to deactivate or activate the NetWare client, do one of these:
NOTE: In most cases, you don't need to restart your system after you deactivate or activate the NetWare client.
This section explains the following:
* Starting to use the NetWare client.
* Viewing or delete print requests.
All NetWare servers that are visible on your network are automatically available as part of your filesystem by browsing through the directories of your system.
This section explains how to do these tasks:
* Log in to NetWare servers and directory trees.
* Log out of NetWare servers and directory trees.
* Access the NetWare directory structure.
Before you can view or store information in NetWare objects or view directories and files, you must log in (be authenticated) to a Bindery server or NDS Directory tree. Once you're authenticated to a server in an NDS Directory tree, you can view any files and directories on that server (according to your access rights).
NOTE: If you try to view NDS objects in a tree that you're not authenticated to, or try to reach files on a volume that your login did not give you rights to use, the corresponding Linux directory appears empty.
To log in to a server or tree:
1. Depending on how you want to log in, choose one of these:
You are prompted to enter your NetWare password.
2. Enter your NetWare password.
You can set up access rights for NetWare files and directories. For example, you can assign files and directories individually to any number of users, groups, or other NDS objects.
Depending on the rights of the NetWare files or directories you try to access, you may or may not be able to access them. To set directory and file access rights, see page 36 for Bindery servers or page 44 for NDS trees.
Once you're logged into NetWare, you can access files on a NetWare server just like any other files in your filesystem. As you browse through the NetWare directories, the system automatically finds any NetWare servers on your network.
Depending on what directory you want to access, do one of the following:
NOTE: Though items (directories and files) on NetWare volumes appear in Linux directories, the NetWare servers handle the security for these items. For example, if you log in to a Directory tree as user admin, you can use the nwdsmodify utility to change the values of an attribute. If you log out and log in again as user nwelch, you may not have rights to see the values of that attribute, even though the Linux access rights to those objects (as viewed from an Linux directory listing) are the same as when you were logged in as admin.
If you want to see all of your NetWare connection information, enter
The following information appears:
NOTE: If you're using a different username (for example, because you logged in as a different Linux user), your NetWare connection information will change, unless the Single Connection Table option is set to yes.
By default, NetWare doesn't prompt you periodically to change your password. However, if you changed the default settings or you want to change your password at any time, follow the steps in this task.
NOTE: Even when your password expires, NetWare generally lets you continue to log in a fixed number of times before you're locked out. That way, you have plenty of time to change your password. (This is the Grace Login feature.)
Because you may be connected to many NDS trees and NetWare servers, you must indicate which connection's password you want to change. To list your current connections, use the nwwhoami command.
1. Depending on the password you're changing, choose one of these:
If you're changing a user's password besides your own and you're not already logged in as an administrator- or a supervisor-equivalent, you're asked for your current password.
2. If prompted, enter your current password; otherwise, skip to the next step.
3. Enter the new password, then re-enter the password to confirm it.
The Caldera NetWare client lets you print files directly to a NetWare print queue and specify how you want files to print. When you print files in NetWare, they are sent to a print queue. The print queue is a holding area where files from many users (called print jobs) wait their turn to be printed. You can view or delete items in the print queue.
This section explains how to do these tasks:
* View and delete print requests.
You can print files from a command line, and specify how the file prints. For example, you can specify the number of copies to print or whether or not carriage returns are automatically inserted.
Use this table to enter your print options:
NOTE: If your printer doesn't automatically return to the beginning of the next line (causing your text to have the "stair-step" effect), use the -c option (for example, enter nwprint -c myfile.txt).
To view the contents of a Print Queue:
Depending on what information you want to list, do one of these:
A list of print requests appears. Here's a sample:
SEQ OWNER DESCRIPTION STATUS FORM JOB ID
1 nwelch sunny:/a/reports/rab.doc job Active 01e0001
2 nwelch C:\CALDERA\UNIXEXP2.WPD job Active 01e02002
3 nwelch Expense Report job Active 01e01001
NOTE: If you don't specify a server and queue to view, the system displays the print requests from the preferred server and queue specified in the environment variables (explained on page 16).
To delete one of the print jobs, enter nwdelqjob -s server -q queue job_number
nwdelqjob -s caldera -q laser 0d134a32
nwdelqjob -n NetWare/NDS/Caldera/Caldera/ Q2 0d134a32
NOTE: If you don't specify a server and queue from which you're deleting a job request, the system uses the preferred server and queue specified in the environment variables.
Caldera® NetWare® for Linux® includes utilities for administering a NetWare server from the NetWare client for Linux, including how to administer bindery and NDS services.
NetWare 3.x servers store such essential information as user names and their group membership in a special database called the bindery. Caldera NetWare for Linux provides utilities to administer NetWare 3.x servers by creating, viewing, modifying, and deleting objects and their properties in the server's bindery. Facilities are also provided to administer disk space quotas and filesystem trustees.
This section explains how to do these tasks:
* Work with bindery object properties.
* Work with bindery object property values.
Bindery objects are used by NetWare 3.x servers to represent and hold information about entities such as Users, Groups of Users, Print Queues, and other application-specific entities.
Depending on what you want to create, choose one of these:
* To create a new User object on that Bindery server, enter
nwbocreate -s server_name -o object_name -t user_type -H home_directory
NOTE: For example, to create a user object named "rainier" of type 1 ("user") on the bindery server "salish," enter nwbocreate -s /NetWare/bindery/salish -o rainier -t 1 -H sys/home
* To create a new Group object on that Bindery server, enter
nwbocreate -s server_name -o object_name -t user_type
NOTE: For example, to create a group object named "writers" of type 2 ("group") on the bindery server "salish," type
Just as the bindery contains objects representing non-filesystem resources, each bindery object consists of properties that contain information about the resource it represents. For example, a user object contains information about groups that it is a member of. These are stored in the GROUPS_I'M_IN property.
1. Log into the NetWare server you want to work with.
NOTE: You must log in as a user with sufficient rights to make any changes to bindery object properties.
2. Depending on what you want to do, choose one of these:
The values of any property of a Bindery object can be displayed, provided that you're authorized to view them. Authorization is based on the value of the property's Read Security flag.
A new value can be added to or removed from any property of any Bindery object you're authorized to modify (based on the property's Write Security flag). To add, change, or remove a bindery object's property values:
1. Log into the NetWare server whose property values you want to view.
NOTE: You must log in as a user with sufficient rights to work with bindery object properties.
3. Depending on what you want to do, do one of the following:
|
Enter nwbprm -o object -p property -v value IMPORTANT: If you remove a property value of type ITEM, the entire property will be removed. (The "-v value" parameter is superfluous.) |
Each directory on a volume attached to a Bindery server can be assigned a space quota. This lets you limit the amount of disk space used by a particular user or application directory. For example, if a user's home directory is limited to 5 MB, the user can't store excessive amounts of information that would make the system unusable for other users.
1. Log into the server whose space quota you want to set.
NOTE: You must log in as a user with sufficient rights to work with disk quotas.
2. To view the current disk space quota for any directory enter
nwboshowspace -d directory_path
nwboshowspace -d /NetWare/bindery/server3/volumes/home/kentp
3. To set the disk space quota, enter
nwbosetspace -d path_to_directory_service
and any of the following options:
|
The number of kilobytes (1024 bytes) that this directory can use. |
|
|
The number of megabytes (1048576 bytes) that this directory can use. |
|
For example, to limit the home directory for user kentp to about 50 MB of disk space, enter
nwbosetspace -d /NetWare/bindery/server3/volumes/home/kentp -m 50
A filesystem trustee on a NetWare Bindery server is an object (usually a User object) that has been granted a set of access rights to a file or directory on a NetWare volume.
As you view trustee assignments, remember that the effective rights a User has (that is, what the User can actually do with a file or directory) can be a combination of the trustee assignments that the User has to a file or directory, trustee assignments to parent directories, and group trustee assignments. (For more information, see the Supervising the Network guide.)
1. Locate the Bindery object that you want to be the trustee. For example, find the user that you want to grant access to.
2. Depending on what you want to do, do one of these:
|
Enter nwboshowtrust -o object and/or directories on the server |
|
|
Enter nwboaddtrust -o object -r [rights_mask] -p object_path |
|
NetWare 4 servers store such essential information as user names and their group memberships in a special distributed database. This database is the repository used by Novell Directory Services (NDS). Caldera NetWare for Linux provides utilities to administer an NDS directory by creating, viewing, modifying, and deleting objects and their attributes in NDS. Facilities are also provided to administer disk space quotas and filesystem trustees.
This section explains how to do these tasks:
* Work with NDS object attributes.
* Manage disk space quotas on NDS servers.
* Manage filesystem trustees on NDS servers
You can create Novell Directory Services objects under any container object in an NDS tree, including the tree's root.
When creating a new NDS object, values for some of its attributes must be specified. These attributes are called mandatory attributes, and vary from object to object. (Most objects don't have a mandatory attribute besides their Common Name.) For example, when a User object is created, a value must be specified for both its Common Name (the name of the object in the Directory tree) and its Surname.
1. Log in to the NDS tree where you want to create an NDS object.
NOTE: The user name you log in as must have sufficient rights to the parent object.
2. Type nwdscreate, including the appropriate parameters, as shown below:
You can remove an NDS object at any time. However, if the object is a container, you must first empty it.
1. Log in to the NDS tree where you want to remove an NDS object.
NOTE: The user name you log in as must have sufficient rights to the parent object.
NOTE: For example, to remove an object named "rainier" from the tree named "salish," type
NetWare lets you assign attributes to each object. For example, attributes for a user may include the user's name, phone number, security access, etc. Because there are many attributes to choose from, the attributes are categorized.
This section explains how to add, change, and delete object attributes.
1. Log in to the NDS tree where you want to change the attributes of an NDS object.
NOTE: The user name you log in as must have sufficient rights to the object.
2. To list an object's attributes, enter
3. Depending on what you want to do, choose one of these:
Each directory on a volume attached to an NDS server can be assigned a space quota. This lets you limit the amount of disk space used by a particular user or application directory. For example, if a user's home directory is limited to 5 MB, the user can't store excessive amounts of information that would make the system unusable for other users.
1. Log into the server whose space quota you want to set.
NOTE: You must log in as a user with sufficient rights to work with disk quotas.
nwdsshowspace -d path_to_directory_service
3. To set the disk space quota, enter
nwdssetspace -d path_to_directory_service
and any of the following options:
|
The number of kilobytes (1024 bytes) that this directory can use. |
|
|
The number of megabytes (1048576 bytes) that this directory can use. |
|
For example, to limit the size of the home directory for user mart to about 50 MB of disk space, enter
nwdssetspace -d /NetWare/NDS/Eng_Tree/ Devel/sys/home/mart -m 50
A filesystem trustee on a NetWare NDS server is an object (usually a User object) that has been granted a set of access rights to a file or directory on a NetWare volume.
As you view filesystem trustee assignments, remember that the effective rights a User has (that is, what the User can actually do with a file or directory) can be a combination of the trustee assignments that the User has to a file or directory, trustee assignments to parent directories, trustee assignments of parent NDS objects (as limited by any inherited rights filters that may exist), and security equivalence, or group trustee assignments. (For more information, see the Supervising the Network guide guide.)
1. Locate the NDS object for which you want the file or directory to be the trustee.
For example, find the user that you want to grant the access to.
2. Depending on what you want to do, do one of these:
This section summarizes every command (and its options) for the Caldera® NetWare® Client Linux® utilities.
The commands are divided into these sections:
* Commands for NetWare printing
* Bindery administration commands
* Novell Directory Service (NDS) administration commands
* Commands for launching the graphical NetWare utilities
The following are general NetWare commands:The following are general NetWare commands:
The following commands can be used when administering Bindery servers:
The following are commands you can use when administering NDS:
If you are using the X Window System, you can use commands to launch the graphical NetWare utilities.